package univer.oko.gui;

import univer.oko.utilities.CDUtilities;

import javax.swing.*;
import java.awt.*;

/**
 * User: core
 * DATE: 26.02.2005
 * Time: 23:52:38
 */
public class CDButton extends JButton {
    public CDButton(Action a) {
        super(a);
        this.setFont(CDUtilities.SYSTEM_FONT);
        this.setMargin(new Insets(3, 3, 3, 3));
        this.setFocusable(false);
    }

    public CDButton(String text, Icon icon) {
        super(text, icon);
        this.setFont(CDUtilities.SYSTEM_FONT);
        this.setMargin(new Insets(3, 3, 3, 3));
        this.setFocusable(false);
    }
}
